﻿using System;
using System.Collections.Generic;
using System.Text;
using Com.Toook.ParseHtml.Enum;

namespace Com.Toook.ParseHtml.Entity
{
    /// <summary>
    /// 一个属性对应的最终结果
    /// </summary>
    public class XmlResult
    {
        private GetBy getBy;
        /// <summary>
        /// 根据指定的类型获取结果值
        /// </summary>
        public GetBy GetBy
        {
            get { return getBy; }
            set { getBy = value; }
        }
        /// <summary>
        /// 结果过滤规则
        /// </summary>
        public List<Filter> ResultFilter = new List<Filter>();

        private string name;
        /// <summary>
        /// 属性名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string val;
        /// <summary>
        /// 属性值
        /// </summary>
        public string Value
        {
            get { return val; }
            set { val = value; }
        }       
    }
}
